3.3.1 \(\int \frac {(A+B x) \sqrt {b x+c x^2}}{x^{7/2}} \, dx\)

Optimal. Leaf size=105 \[ -\frac {c (4 b B-A c) \tanh ^{-1}\left (\frac {\sqrt {b x+c x^2}}{\sqrt {b} \sqrt {x}}\right )}{4 b^{3/2}}-\frac {\sqrt {b x+c x^2} (4 b B-A c)}{4 b x^{3/2}}-\frac {A \left (b x+c x^2\right )^{3/2}}{2 b x^{7/2}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.09, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {792, 662, 660, 207} \begin {gather*} -\frac {c (4 b B-A c) \tanh ^{-1}\left (\frac {\sqrt {b x+c x^2}}{\sqrt {b} \sqrt {x}}\right )}{4 b^{3/2}}-\frac {\sqrt {b x+c x^2} (4 b B-A c)}{4 b x^{3/2}}-\frac {A \left (b x+c x^2\right )^{3/2}}{2 b x^{7/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((A + B*x)*Sqrt[b*x + c*x^2])/x^(7/2),x]

[Out]

-((4*b*B - A*c)*Sqrt[b*x + c*x^2])/(4*b*x^(3/2)) - (A*(b*x + c*x^2)^(3/2))/(2*b*x^(7/2)) - (c*(4*b*B - A*c)*Ar
cTanh[Sqrt[b*x + c*x^2]/(Sqrt[b]*Sqrt[x])])/(4*b^(3/2))

Rule 207

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTanh[(Rt[b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && NegQ[a/b] && (LtQ[a, 0] || GtQ[b, 0])

Rule 660

Int[1/(Sqrt[(d_.) + (e_.)*(x_)]*Sqrt[(a_.) + (b_.)*(x_) + (c_.)*(x_)^2]), x_Symbol] :> Dist[2*e, Subst[Int[1/(
2*c*d - b*e + e^2*x^2), x], x, Sqrt[a + b*x + c*x^2]/Sqrt[d + e*x]], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^
2 - 4*a*c, 0] && EqQ[c*d^2 - b*d*e + a*e^2, 0]

Rule 662

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[((d + e*x)^(m + 1)*(
a + b*x + c*x^2)^p)/(e*(m + p + 1)), x] - Dist[(c*p)/(e^2*(m + p + 1)), Int[(d + e*x)^(m + 2)*(a + b*x + c*x^2
)^(p - 1), x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[c*d^2 - b*d*e + a*e^2, 0] && GtQ[
p, 0] && (LtQ[m, -2] || EqQ[m + 2*p + 1, 0]) && NeQ[m + p + 1, 0] && IntegerQ[2*p]

Rule 792

Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp
[((d*g - e*f)*(d + e*x)^m*(a + b*x + c*x^2)^(p + 1))/((2*c*d - b*e)*(m + p + 1)), x] + Dist[(m*(g*(c*d - b*e)
+ c*e*f) + e*(p + 1)*(2*c*f - b*g))/(e*(2*c*d - b*e)*(m + p + 1)), Int[(d + e*x)^(m + 1)*(a + b*x + c*x^2)^p,
x], x] /; FreeQ[{a, b, c, d, e, f, g, m, p}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[c*d^2 - b*d*e + a*e^2, 0] && ((L
tQ[m, -1] &&  !IGtQ[m + p + 1, 0]) || (LtQ[m, 0] && LtQ[p, -1]) || EqQ[m + 2*p + 2, 0]) && NeQ[m + p + 1, 0]

Rubi steps

\begin {align*} \int \frac {(A+B x) \sqrt {b x+c x^2}}{x^{7/2}} \, dx &=-\frac {A \left (b x+c x^2\right )^{3/2}}{2 b x^{7/2}}+\frac {\left (-\frac {7}{2} (-b B+A c)+\frac {3}{2} (-b B+2 A c)\right ) \int \frac {\sqrt {b x+c x^2}}{x^{5/2}} \, dx}{2 b}\\ &=-\frac {(4 b B-A c) \sqrt {b x+c x^2}}{4 b x^{3/2}}-\frac {A \left (b x+c x^2\right )^{3/2}}{2 b x^{7/2}}+\frac {(c (4 b B-A c)) \int \frac {1}{\sqrt {x} \sqrt {b x+c x^2}} \, dx}{8 b}\\ &=-\frac {(4 b B-A c) \sqrt {b x+c x^2}}{4 b x^{3/2}}-\frac {A \left (b x+c x^2\right )^{3/2}}{2 b x^{7/2}}+\frac {(c (4 b B-A c)) \operatorname {Subst}\left (\int \frac {1}{-b+x^2} \, dx,x,\frac {\sqrt {b x+c x^2}}{\sqrt {x}}\right )}{4 b}\\ &=-\frac {(4 b B-A c) \sqrt {b x+c x^2}}{4 b x^{3/2}}-\frac {A \left (b x+c x^2\right )^{3/2}}{2 b x^{7/2}}-\frac {c (4 b B-A c) \tanh ^{-1}\left (\frac {\sqrt {b x+c x^2}}{\sqrt {b} \sqrt {x}}\right )}{4 b^{3/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.10, size = 83, normalized size = 0.79 \begin {gather*} -\frac {c x^2 \sqrt {\frac {c x}{b}+1} (4 b B-A c) \tanh ^{-1}\left (\sqrt {\frac {c x}{b}+1}\right )+(b+c x) (2 A b+A c x+4 b B x)}{4 b x^{3/2} \sqrt {x (b+c x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((A + B*x)*Sqrt[b*x + c*x^2])/x^(7/2),x]

[Out]

-1/4*((b + c*x)*(2*A*b + 4*b*B*x + A*c*x) + c*(4*b*B - A*c)*x^2*Sqrt[1 + (c*x)/b]*ArcTanh[Sqrt[1 + (c*x)/b]])/
(b*x^(3/2)*Sqrt[x*(b + c*x)])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.24, size = 86, normalized size = 0.82 \begin {gather*} \frac {\left (A c^2-4 b B c\right ) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {b x+c x^2}}\right )}{4 b^{3/2}}+\frac {\sqrt {b x+c x^2} (-2 A b-A c x-4 b B x)}{4 b x^{5/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[((A + B*x)*Sqrt[b*x + c*x^2])/x^(7/2),x]

[Out]

((-2*A*b - 4*b*B*x - A*c*x)*Sqrt[b*x + c*x^2])/(4*b*x^(5/2)) + ((-4*b*B*c + A*c^2)*ArcTanh[(Sqrt[b]*Sqrt[x])/S
qrt[b*x + c*x^2]])/(4*b^(3/2))

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 187, normalized size = 1.78 \begin {gather*} \left [-\frac {{\left (4 \, B b c - A c^{2}\right )} \sqrt {b} x^{3} \log \left (-\frac {c x^{2} + 2 \, b x + 2 \, \sqrt {c x^{2} + b x} \sqrt {b} \sqrt {x}}{x^{2}}\right ) + 2 \, {\left (2 \, A b^{2} + {\left (4 \, B b^{2} + A b c\right )} x\right )} \sqrt {c x^{2} + b x} \sqrt {x}}{8 \, b^{2} x^{3}}, \frac {{\left (4 \, B b c - A c^{2}\right )} \sqrt {-b} x^{3} \arctan \left (\frac {\sqrt {-b} \sqrt {x}}{\sqrt {c x^{2} + b x}}\right ) - {\left (2 \, A b^{2} + {\left (4 \, B b^{2} + A b c\right )} x\right )} \sqrt {c x^{2} + b x} \sqrt {x}}{4 \, b^{2} x^{3}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+b*x)^(1/2)/x^(7/2),x, algorithm="fricas")

[Out]

[-1/8*((4*B*b*c - A*c^2)*sqrt(b)*x^3*log(-(c*x^2 + 2*b*x + 2*sqrt(c*x^2 + b*x)*sqrt(b)*sqrt(x))/x^2) + 2*(2*A*
b^2 + (4*B*b^2 + A*b*c)*x)*sqrt(c*x^2 + b*x)*sqrt(x))/(b^2*x^3), 1/4*((4*B*b*c - A*c^2)*sqrt(-b)*x^3*arctan(sq
rt(-b)*sqrt(x)/sqrt(c*x^2 + b*x)) - (2*A*b^2 + (4*B*b^2 + A*b*c)*x)*sqrt(c*x^2 + b*x)*sqrt(x))/(b^2*x^3)]

________________________________________________________________________________________

giac [A]  time = 0.27, size = 110, normalized size = 1.05 \begin {gather*} \frac {\frac {{\left (4 \, B b c^{2} - A c^{3}\right )} \arctan \left (\frac {\sqrt {c x + b}}{\sqrt {-b}}\right )}{\sqrt {-b} b} - \frac {4 \, {\left (c x + b\right )}^{\frac {3}{2}} B b c^{2} - 4 \, \sqrt {c x + b} B b^{2} c^{2} + {\left (c x + b\right )}^{\frac {3}{2}} A c^{3} + \sqrt {c x + b} A b c^{3}}{b c^{2} x^{2}}}{4 \, c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+b*x)^(1/2)/x^(7/2),x, algorithm="giac")

[Out]

1/4*((4*B*b*c^2 - A*c^3)*arctan(sqrt(c*x + b)/sqrt(-b))/(sqrt(-b)*b) - (4*(c*x + b)^(3/2)*B*b*c^2 - 4*sqrt(c*x
 + b)*B*b^2*c^2 + (c*x + b)^(3/2)*A*c^3 + sqrt(c*x + b)*A*b*c^3)/(b*c^2*x^2))/c

________________________________________________________________________________________

maple [A]  time = 0.07, size = 108, normalized size = 1.03 \begin {gather*} \frac {\sqrt {\left (c x +b \right ) x}\, \left (A \,c^{2} x^{2} \arctanh \left (\frac {\sqrt {c x +b}}{\sqrt {b}}\right )-4 B b c \,x^{2} \arctanh \left (\frac {\sqrt {c x +b}}{\sqrt {b}}\right )-\sqrt {c x +b}\, A \sqrt {b}\, c x -4 \sqrt {c x +b}\, B \,b^{\frac {3}{2}} x -2 \sqrt {c x +b}\, A \,b^{\frac {3}{2}}\right )}{4 \sqrt {c x +b}\, b^{\frac {3}{2}} x^{\frac {5}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x+A)*(c*x^2+b*x)^(1/2)/x^(7/2),x)

[Out]

1/4*((c*x+b)*x)^(1/2)/b^(3/2)*(A*arctanh((c*x+b)^(1/2)/b^(1/2))*x^2*c^2-4*B*arctanh((c*x+b)^(1/2)/b^(1/2))*x^2
*b*c-A*x*c*b^(1/2)*(c*x+b)^(1/2)-4*B*x*b^(3/2)*(c*x+b)^(1/2)-2*A*b^(3/2)*(c*x+b)^(1/2))/x^(5/2)/(c*x+b)^(1/2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {c x^{2} + b x} {\left (B x + A\right )}}{x^{\frac {7}{2}}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+b*x)^(1/2)/x^(7/2),x, algorithm="maxima")

[Out]

integrate(sqrt(c*x^2 + b*x)*(B*x + A)/x^(7/2), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {c\,x^2+b\,x}\,\left (A+B\,x\right )}{x^{7/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((b*x + c*x^2)^(1/2)*(A + B*x))/x^(7/2),x)

[Out]

int(((b*x + c*x^2)^(1/2)*(A + B*x))/x^(7/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x \left (b + c x\right )} \left (A + B x\right )}{x^{\frac {7}{2}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x**2+b*x)**(1/2)/x**(7/2),x)

[Out]

Integral(sqrt(x*(b + c*x))*(A + B*x)/x**(7/2), x)

________________________________________________________________________________________